package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cykj.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 划拔回调记录对象
 *
 * @author ningbingwu
 * @date 2021-01-15
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class BizAfullOperationRecordSheet implements Serializable {

private static final long serialVersionUID=1L;


    /** 操作主键 */
    @TableId(value = "record_id")
    private Long recordId;

    /** 代理id */
    @Excel(name = "代理id")
    private Long userId;

    /** 代理id */
    @Excel(name = "代理全称")
    private String merchName;

    /** 终端SN系列号 */
    @Excel(name = "终端SN系列号")
    private String posCode;

    /** 旧的应用id */
    @Excel(name = "旧的应用id 上级代理")
    private Long oldApplication;

    /** 新的应用id */
    @Excel(name = "新的应用id 上级代理")
    private Long newApplication;

    /** 操作的当前时间 */
    @Excel(name = "操作时间")
    private Date operateTime;

    /** 操作类型 */
    @Excel(name = "操作类型：1、伙伴转移")
    private String operateType;

    /** 备用字段 */
    @Excel(name = "旧的merch_id")
    private Long oldmerchId;

    /** 备用字段 */
    @Excel(name = "新的merch_id")
    private Long newmerchId;

    /** 备用字段 */
    @Excel(name = "操作人")
    private String operator;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
